package com.family.pedigree.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.family.pedigree.domain.FamilyLeader;

import java.util.List;

/**
 * <p>
 * 领导简介表 服务类
 * </p>
 *
 * @author forever
 * @since 2025-01-13
 */
public interface IFamilyLeaderService extends IService<FamilyLeader> {

    void add(FamilyLeader familyLeader);

    List<FamilyLeader> selectList(FamilyLeader familyLeader);

    /**
     *
     * @param isNow 0现任 1-往任
     */
    List<FamilyLeader> getLeaderByNow(int isNow);
}
